package main

import (
	"QImages/database"
	_ "QImages/global"
	"QImages/router"
	"log"
)

func main() {
	defer database.DB.Close()
	r := router.InitRouter()
	err := r.Run(":9000")
	if err != nil {
		log.Fatalf("server start error : %v \n", err)
	}
}
